<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>蘑菇街</title>
    <link rel="stylesheet" href="../css/shopcart.css">
</head>
<body>
    <h1>我的购物车<a href="Homepage.html" style="color: blue;">返回主页</a></h1>
    <br>
    <hr>
    <br>
    <div class="box">
        <table>
            <tr>
                <th class="th1">商品信息</th>
                <th class="th2">价格</th>
                <th class="th2">数量</th>
                <th class="th2">操作</th>
            </tr>
            <!-- <tr>
                <td>
                    <input type="checkbox" class="sel-ipt" onchange="singleSelClcik()">
                    <img src="./img/bg.gif" alt="">
                    <span>${obj.pname}</span>
                </td>
                <td style="text-align: center;">
                    <span>${obj.pprice}</span>
                </td>
                <td style="text-align: center;">
                    <input type="button" value="-" onclick="subBtnClick(this,${obj.pid})"/>
                    <input type="text" value="${obj.pnum}" class="pnum-ipt" style="width: 60px;"/>
                    <input type="button" value="+" onclick="addBtnClick(this,${obj.pid})"/>
                </td>
                <td style="text-align: center;">
                     <button onclick="delClick(${obj.pid},this)">删除</button>
                </td>
            </tr> -->
        </table>
        <div class="settleMent">
            <div class="on"><h3>你的购物车空空如也！！！</h3></div>
            <div class="next">
                <h3>全选：<input type="checkbox"  onchange="allSelClcik(this)" id="all-sel"></h3>
                <h3>总价：<span id="zj">0.00</span></h3>
                <h3><a href="javascript:;">去结算</a></h3>
            </div>
        </div>
    </div>
    <script src="../js/api.js"></script>
    <script src="../js/axios.min.js"></script>
    <script src="../js/shopcart.js"></script>
</body>
</html>